<template>
	<view class="goods-box">
		<view class="goods-left">
			<image class="goods-img" :src="item.goods_small_logo || defaultPic" mode=""></image>
		</view>
		<view class="goods-right">
			<view class="goods-top">
				{{item.goods_name}}
			</view>
			<view class="goods-bottom">
				￥{{item.goods_price}}元
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"my-goods",
		props:{
			item:{
				type:Object,
				default:{}
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
.goods-box{
	display: flex;
	padding: 10px 5px;
	border-bottom: 1px solid #efefef;
	.goods-left{
		margin-right: 5px;
		.goods-img{
			width: 100px;
			height: 100px;
			display: block;
		}
	}
	.goods-right{
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		.goods-top{
			font-size: 13px;
		}
		.goods-bottom{
			
		}
	}
}
</style>
